#game-top-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#draw-box {
    width: 350px;
    margin: 0 auto;
    min-height: 350px;
    box-sizing: border-box;
    border: #000000 solid 1px;
    border-radius: 15px;
    background-color: #daeefd;
}

#topic-bar {
    width: 350px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
}

#topic-bar > div {
    flex: 1;
}

#board {
    width: 300px;
    height: 300px;
    background-color: #ffffff;
    box-shadow: #000000 0 0 1px;
    border-radius: 10px;
    touch-action: none;
}

.control-btn {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    background-color: transparent;
    border: none;
    border-radius: 30px;
}

.select-box {
    display: flex;
    align-items:center;
    justify-content: space-around;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    padding: 15px;
    text-align: left;
}

.color-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: #ffffff;
    border-radius: 30px;
    border: 4px solid transparent;
    box-shadow: #00000033 0 0 10px;
}

.width-btn,.eraser-btn {
    box-sizing: content-box;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 24px;
    background-color: #444444;
    border: 4px solid #444444;
    box-shadow: #00000033 0 0 10px;
}
#player-box {
    display: flex;
    justify-content: center;
    width: 100%;
}

.player-item {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    font-size: 1.4em;
    color: coral;
    background-color: #ffffff;
    box-shadow: #00000022 0 0 5px;
    margin: 5px 10px;
}

#chat-box {
    width: calc(100vw - 20px);
    height: calc(100vh - 540px);
    box-sizing: border-box;
    padding: 10px;
    margin: auto;
    border-radius: 10px;
    background-color: #00000022;
    box-shadow: #000000 0 0 1px;
    text-align: left;
    font-size: 0.8em;
    overflow-y: scroll;
}

#chat-input-box {
    width: 100vw;
    height: 50px;
    position: fixed;
    bottom: 0;
    background-color: #bbe1ec;
}

#chat-input {
    width: calc(100vw - 100px);
}
